import {
	post,
	get
} from "@/utils/request.js"

export default {
	// 我的购买列表
	mylist: data => post('order/mylist', data),
	// 取消订单api/order/cancelOrder
	cancelOrder: data => post('order/cancelOrder', data),
	// 购买列表-我的团队
	myteamlist: data => post('order/myteamlist', data),
	// 购买详情明细
	orderdetail: params => get('order/detail', params),
	// 退款api/order/refundOrder
	orderRefundOrder: params => post('order/refundOrder', params),
}